-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[espmilighthub] Initial contribution #9218
Conversation
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
7954e7b
to
836d3f3
Compare
Please raise your hand if you finished making all changes. |
Yes finished all changes, dont know how to raise hand and google did not return any hits on how to do that so will re-request the review from you as a way to flag this. Thanks for the review when things must be very busy. |
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
beba5b5
to
ee35824
Compare
RAISE HAND. All changes requested are addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to add this binding to the footer.xml
file otherwise it won't get included in the mqtt binding.
...org/openhab/binding/mqtt/espmilighthub/internal/discovery/EspMilightHubDiscoveryService.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
Thank you to both @cpmeister and @fwolter for doing the review. Looks like all has been addressed except 1 question awaiting a response on. The footer.xml has been changed to add this binding. |
All issues are addressed. |
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
All changes requested have been made. |
...main/java/org/openhab/binding/mqtt/espmilighthub/internal/EspMilightHubBindingConstants.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…rg/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java Signed-off-by: Matthew Skinner matt@pcmus.com Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ces/OH-INF/thing/thing-types.xml Signed-off-by: Matthew Skinner matt@pcmus.com Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner matt@pcmus.com Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ces/OH-INF/thing/thing-types.xml Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…rg/openhab/binding/mqtt/espmilighthub/internal/discovery/EspMilightHubDiscoveryService.java Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…rg/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
All changes requested have been made and passes 'mvn clean install' on my machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think everything looks good code-wise. I'd just like some minor tweaks to some of the wording in the readme.
Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
This reverts commit b2bb917.
* espmilighthub inital Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com> Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
Can't find this binding on 3.1.0M1 (jfrog archive). |
* espmilighthub inital Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com> Signed-off-by: John Marshall <john.marshall.au@gmail.com>
* espmilighthub inital Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
* espmilighthub inital Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
A binding that allows an esp8266 based opensource hub to bridge openHAB to Milight globes.
Binding is used by more than 50 users as it has been around since Feb 2018 but I only just updated it to now no longer use the Paho lib and instead use the openHAB MQTT transport. Forum thread on this binding is found here:
https://community.openhab.org/t/espmilighthub-new-binding-for-milight-limitlessled-and-easybulb/39720
The hardware hub has a github project here:
https://github.com/sidoh/esp8266_milight_hub/releases101
A precompiled JAR for V3.0 can be downloaded here:
https://openhab.jfrog.io/artifactory/libs-pullrequest-local/org/openhab/addons/bundles/org.openhab.binding.mqtt.espmilighthub/3.1.0-SNAPSHOT/org.openhab.binding.mqtt.espmilighthub-3.1.0-SNAPSHOT.jar
Signed-off-by: Matthew Skinner matt@pcmus.com